<div id="page-content" class="clearfix">
			
			<h1>Users</h1>
			
			<h2>Add new user <span>(short description)</span></h2>
			
			<?php if($error == 'no'){?>
			<div class="success">User successfully saved!</div>
			<?php }else if($error == 'yes'){ ?>
			<div class="error">Error! User not saved!</div>
			<?php }else{ ?>
			<!--no error -->
			<?php } ?>
			
			<div class="inner-box clearfix">
			
				<!--<div id="sidebar">
				
					<ul>
						<li class="head">Sidebar title</li>
						<li><a href="#">Menu item 1</a></li>
						<li><a href="#">Menu item 2</a></li>
						<li class="current"><a href="index.html">Form template layout</a></li>
						<li><a href="table.html">Table template layout</a></li>
						<li><a href="#">Menu item 5</a></li>
						<li><a href="#">Menu item 6</a></li>
						<li><a href="#">Menu item 7</a></li>
						<li><a href="#">Menu item 8</a></li>
					</ul>				
				
				</div>-->
			
				<div id="form-block">
					<?=$error  ?>

					<form action="add" method="post" accept-charset="utf-8">
				
					<label for="display_name">Display Name</label>
					<input type="text" name="display_name" id="display_name" class="medium" value="<?php echo set_value('display_name'); ?>" />
					<em><?php echo form_error('display_name'); ?></em>
					
					<label for="password">Password</label>
					<input type="password" name="password" id="password" class="medium" value="" />
					<em><?php echo form_error('password'); ?></em>
					
					<label for="passconf">Password Confirmation</label>
					<input type="password" name="passconf" id="passconf" class="medium" value="" />
					<em><?php echo form_error('passconf'); ?></em>
					
					<label for="first_name">First Name</label>
					<input type="text" name="first_name" id="first_name" class="medium" value="<?php echo set_value('first_name'); ?>" />
					<em><?php echo form_error('first_name'); ?></em>
					
					<label for="last_name">Last Name</label>
					<input type="text" name="last_name" id="last_name" class="medium" value="<?php echo set_value('last_name'); ?>" />
					<em><?php echo form_error('last_name'); ?></em>
					
					<label for="email_address">Email Address</label>
					<input type="text" name="email_address" id="email_address" class="medium" value="<?php echo set_value('email_address'); ?>" />
					<em><?php echo form_error('email_address'); ?></em>
					
					<label for="user_level">User Level</label>
					<select name="user_level" class="short" id="user_level">
						<option value="3">Client</option>
						<option value="4">Staff</option>
						<option value="5">Admin</option>
					</select>
					<em><?php echo form_error('user_level'); ?></em>
					
					<!--<label>Active</label>
					<ul class="radiolist clearfix">
						<li><input type="checkbox" name="chkList1" id="chk1" value="" /> <label for="chk1">Checkbox option 1</label></li>
					</ul>-->
					
					<br />
					<input type="submit" class="submit" value="Submit form" />
					<input type="button" class="submit reset" value="Reset form" onclick="location.href='form_error.html';" />
				
				</div>
			
			</div>